package com.xyht.medicine_management_system.modules.addresses.service;

import com.xyht.medicine_management_system.common.commonReturn.ResponseResult;
import com.xyht.medicine_management_system.modules.addresses.entity.MmsAddresses;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.medicine_management_system.modules.addresses.entity.req.MmsAddressesReq;

/**
 * <p>
 * 地址表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-12-03
 */
public interface MmsAddressesService extends IService<MmsAddresses> {

    ResponseResult addAddresses(MmsAddressesReq addressesReq, String userId);

    ResponseResult updateAddresses(MmsAddressesReq addressesReq, String userId);

    ResponseResult listAddresses(Integer pageNum, Integer pageSize, String searchStr, String userId);

    ResponseResult addressesDetail(String addressId);
}
